<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2018/4/30
 * Time: 16:17
 */

namespace app\common\model;
use think\Model;

class Menu extends Model{
    //获取主菜单
    public function getMenulist(){
       $res =  $this->where('status','0')->field('id,menuname')->select();
       return $res;
    }
}